package com.angel.provider.health.impl;


import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.angel.core.base.BaseProviderImpl;
import com.angel.dao.health.BuzCprMapper;
import com.angel.health.Archives;
import com.angel.health.BuzCpr;
import com.angel.provider.health.BuzCprProvider;

@Service
public class BuzCprProviderImpl extends BaseProviderImpl<BuzCpr> implements BuzCprProvider {

	@Autowired
	private BuzCprMapper mapper;
	
	public BuzCpr findById(Integer id) {
		return mapper.selectByPrimaryKey(id);
	}

	@Override
	public List<Archives> findCprForApp(String customerId) {
		// TODO Auto-generated method stub
		return mapper.findCprForApp(customerId);
	}

	@Override
	public int delAll(String ids) {
		// TODO Auto-generated method stub
		return mapper.delAll(ids);
	}

}
